using System.Collections;
using System.Collections.Generic;
using Unity.Entities;
using UnityEngine;


public struct Stunned:IComponentData,IEnableableComponent
{
    
}

public class StunnedAuthoring : MonoBehaviour
{
    private class Baker:Baker<StunnedAuthoring>
    {
        public override void Bake(StunnedAuthoring authoring)
        {
            Entity entity = GetEntity(TransformUsageFlags.Dynamic);
            AddComponent(entity,new Stunned());
            SetComponentEnabled<Stunned>(entity,false);
        }
    }
}
